<%@ Page Language="VB" MasterPageFile="~/MasterPageExpandable.master" AutoEventWireup="false" CodeFile="Assessments.aspx.vb" Inherits="RIAssessments_Assessments" title="Assessments" %>
<%@ Register Assembly="InputControls" Namespace="InputControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <cc1:EditCaseSubNav ID="EditCaseSubNav" runat="server" InvalidTabs="none" ShowCaseNotes="True" ShowEmployeeInfo="True" ShowLegalGuardianInfo="True" ShowMedicalCareProvider="True" ShowParticipantRepInfo="True" ShowPersonalInfo="True" UseTable="true" Width="863px" />
    
    <div style="height:335px;">
    <div id="PageDiv" runat="server" style="position:relative; left:20px; top:10px; width:944px; height:280px; overflow:auto;">
        <table border="0" cellpadding="4" cellspacing="0">
             <tr>
                <td>
                    <asp:Label ID="ParticipantNameLabel" runat="server" CssClass="partHeaderName" Font-Bold="False" Font-Names="Verdana"></asp:Label>&nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="HeaderLabel" runat="server" CssClass="AdminHeader" Font-Bold="True" Font-Names="Verdana" AssociatedControlID="AssessmentGridView">Assessments</asp:Label>&nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <asp:GridView ID="AssessmentGridView" runat="server" CssClass="gridOffsetSmall" HorizontalAlign="Center" Width="825px" CellPadding="5" 
                        AutoGenerateColumns="False" BorderColor="#21334B" 
                        BorderStyle="Solid" GridLines="Vertical" DataKeyNames="AssessmentId" AllowSorting="True" EmptyDataText="<div style=' font-family: ms sans serif,arial,verdana,helvetica,sans-serif'>There are currently no assessments to display.</div>" AllowPaging="True" PageSize="8">
                    <HeaderStyle CssClass="adminHeaderStyle" BackColor="#C3CAD4" BorderColor="#21334B" VerticalAlign="Top" />
                    <RowStyle CssClass="adminColumnStyle" />
                        <Columns>
                            <asp:TemplateField HeaderText="Assessment Date" SortExpression="AssessmentDate">
                                <ItemStyle Width="60%" />
                                <ItemTemplate>
                                    <asp:LinkButton ID="AssessmentLinkButton" runat="server" Text='<%# Bind("AssessmentDate") %>' CommandArgument='<%# Bind("AssessmentId") %>' CommandName="GoToAssessment"></asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="LastModified" SortExpression="LastModified" HeaderText="Completed By">
                                <ItemStyle HorizontalAlign="Center" Width="20%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="DateModified" SortExpression="DateModified" HeaderText="Date Modified">
                                <ItemStyle HorizontalAlign="Center" Width="20%" />
                            </asp:BoundField>
                        </Columns>
                    <AlternatingRowStyle BackColor="#E8ECF4" />
                </asp:GridView>
                </td>
            </tr>
            
        </table>
    </div>   
    </div>
</asp:Content>
<asp:Content ID="FixedContent" runat="server" ContentPlaceHolderID="ContentPlaceHolder2">
<table cellpadding="4" cellspacing="0">
    <tr>
                <td>
                    <asp:Button ID="NewAssessmentButton" runat="server" Text="New Assessment" /></td>
            </tr>
    </table>
</asp:Content>

